package com.zxjbyte.yiyi.framework.redis.lock.executor;

/**
 * @Author zhangxingjia
 * @Date 2023/4/14 16:37
 * @Version: 1.0
 */
public abstract class AbstractRLockExecutor<T> implements RLockExecutor<T> {

    protected T getLockInstance(boolean locked, T lockInstance) {
        return locked ? lockInstance : null;
    }
}
